package xyz.honghong520.entity;

import javax.persistence.*;

public class Course {

    // 课程主码
    private Integer cid;
    // 课程编码，课程名称
    private String cno, cname;

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    // 课程人数
    private Integer num;

}
